import 'package:finance_app/generated/json/base/json_convert_content.dart';
import 'package:finance_app/generated/json/base/json_field.dart';

class BatchInvenotriesEntity with JsonConvert<BatchInvenotriesEntity> {
  int id;
  @JSONField(name: "company_id")
  int companyId;
  @JSONField(name: "inventoriable_type")
  String inventoriableType;
  @JSONField(name: "inventoriable_id")
  int inventoriableId;
  String name;

  String type;
  @JSONField(name: "type_id")
  dynamic typeId;
  int quantity;
  @JSONField(name: "inventory_left")
  int inventoryLeft;
  dynamic notes;
  String batch;
  @JSONField(name: "created_by")
  dynamic createdBy;
  @JSONField(name: "created_at")
  String createdAt;
  @JSONField(name: "updated_at")
  String updatedAt;
  @JSONField(name: "entity_name")
  String entityName;
}
